<?php
namespace App\Admin\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 订单列表Dto （导入导出）
 */
#[ExcelData]
class OrderDto implements MineModelExcel
{
    #[ExcelProperty(value: "用户昵称", index: 0)]
    public string $member_nickname;

    #[ExcelProperty(value: "车辆ID", index: 1)]
    public string $car_id;

    #[ExcelProperty(value: "渠道ID", index: 2)]
    public string $channel_id;

    #[ExcelProperty(value: "员工姓名", index: 3)]
    public string $staff_name;

    #[ExcelProperty(value: "订单号", index: 4)]
    public string $no;

    #[ExcelProperty(value: "城市", index: 5)]
    public string $city;

    #[ExcelProperty(value: "地址", index: 6)]
    public string $address;

    #[ExcelProperty(value: "开始时间", index: 7)]
    public string $start_at;

    #[ExcelProperty(value: "结束时间", index: 8)]
    public string $end_at;

    #[ExcelProperty(value: "租车天数", index: 9)]
    public string $day;

    #[ExcelProperty(value: "租车单价", index: 10, path: "price")]
    public string $price;

    #[ExcelProperty(value: "清洁费", index: 11, path: "cleaning_fee")]
    public string $cleaning_fee;

    #[ExcelProperty(value: "服务费", index: 12, path: "service_fee")]
    public string $service_fee;

    #[ExcelProperty(value: "保险单价", index: 13, path: "insurance_price")]
    public string $insurance_price;

    #[ExcelProperty(value: "总价格", index: 14, path: "total_price")]
    public string $total_price;

    #[ExcelProperty(value: "支付发起时间", index: 15)]
    public string $pay_launch_at;

    #[ExcelProperty(value: "支付确认时间", index: 16)]
    public string $pay_confirm_at;

    #[ExcelProperty(value: "支付状态", index: 17)]
    public string $pay_status_text;

    #[ExcelProperty(value: "是否送达", index: 18)]
    public string $is_delivery_text;

    #[ExcelProperty(value: "送达时间", index: 19)]
    public string $delivery_at;

    #[ExcelProperty(value: "取消时间", index: 20)]
    public string $cancelled_at;

    #[ExcelProperty(value: "还车时间", index: 21)]
    public string $return_at;

    #[ExcelProperty(value: "状态", index: 22)]
    public string $status_text;

    #[ExcelProperty(value: "创建时间", index: 23)]
    public string $created_at;
}